package com.zbkj.crmeb.store.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@ApiModel("StoreOrderTransDTO对象")
public class StoreOrderTransDTO implements Serializable {

    private final static long serialVersionUID = 1L;

    @ApiModelProperty("表ID")
    @TableId(type = IdType.AUTO, value = "id")
    private Long id;

    @ApiModelProperty("商户ID")
    private Integer merId;

    @ApiModelProperty("商户名称")
    private String merName;

    @ApiModelProperty("订单号")
    private String orderId;

    @ApiModelProperty("子订单号集合")
    private String infoId;

    @ApiModelProperty("分账状态0：失败 1：成功")
    private Integer status;

    @ApiModelProperty("成本价")
    private BigDecimal totalCostPrice;

    @ApiModelProperty("运税费")
    private BigDecimal totalTaxPrice;

    @ApiModelProperty("请求流水号")
    private String requestId;

    @ApiModelProperty("请求时间")
    private String requestTime;

    @ApiModelProperty("交易单号")
    private String dealId;

    @ApiModelProperty("扩展字段")
    private String ext1;

    @ApiModelProperty("错误描述")
    private String respMsg;

    @ApiModelProperty("错误明细")
    private String detail;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;
}
